﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011DD RID: 4573
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpringRecoverCsReq : IMessage<SpringRecoverCsReq>, IMessage, IEquatable<SpringRecoverCsReq>, IDeepCloneable<SpringRecoverCsReq>, IBufferMessage
	{
		// Token: 0x170039E3 RID: 14819
		// (get) Token: 0x0600CCC6 RID: 52422 RVA: 0x00227AA9 File Offset: 0x00225CA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpringRecoverCsReq> Parser
		{
			get
			{
				return SpringRecoverCsReq._parser;
			}
		}

		// Token: 0x170039E4 RID: 14820
		// (get) Token: 0x0600CCC7 RID: 52423 RVA: 0x00227AB0 File Offset: 0x00225CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpringRecoverCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170039E5 RID: 14821
		// (get) Token: 0x0600CCC8 RID: 52424 RVA: 0x00227AC2 File Offset: 0x00225CC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpringRecoverCsReq.Descriptor;
			}
		}

		// Token: 0x0600CCC9 RID: 52425 RVA: 0x00227AC9 File Offset: 0x00225CC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverCsReq()
		{
		}

		// Token: 0x0600CCCA RID: 52426 RVA: 0x00227AD1 File Offset: 0x00225CD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverCsReq(SpringRecoverCsReq other) : this()
		{
			this.propEntityId_ = other.propEntityId_;
			this.planeId_ = other.planeId_;
			this.floorId_ = other.floorId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CCCB RID: 52427 RVA: 0x00227B0E File Offset: 0x00225D0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverCsReq Clone()
		{
			return new SpringRecoverCsReq(this);
		}

		// Token: 0x170039E6 RID: 14822
		// (get) Token: 0x0600CCCC RID: 52428 RVA: 0x00227B16 File Offset: 0x00225D16
		// (set) Token: 0x0600CCCD RID: 52429 RVA: 0x00227B1E File Offset: 0x00225D1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x170039E7 RID: 14823
		// (get) Token: 0x0600CCCE RID: 52430 RVA: 0x00227B27 File Offset: 0x00225D27
		// (set) Token: 0x0600CCCF RID: 52431 RVA: 0x00227B2F File Offset: 0x00225D2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PlaneId
		{
			get
			{
				return this.planeId_;
			}
			set
			{
				this.planeId_ = value;
			}
		}

		// Token: 0x170039E8 RID: 14824
		// (get) Token: 0x0600CCD0 RID: 52432 RVA: 0x00227B38 File Offset: 0x00225D38
		// (set) Token: 0x0600CCD1 RID: 52433 RVA: 0x00227B40 File Offset: 0x00225D40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FloorId
		{
			get
			{
				return this.floorId_;
			}
			set
			{
				this.floorId_ = value;
			}
		}

		// Token: 0x0600CCD2 RID: 52434 RVA: 0x00227B49 File Offset: 0x00225D49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpringRecoverCsReq);
		}

		// Token: 0x0600CCD3 RID: 52435 RVA: 0x00227B58 File Offset: 0x00225D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpringRecoverCsReq other)
		{
			return other != null && (other == this || (this.PropEntityId == other.PropEntityId && this.PlaneId == other.PlaneId && this.FloorId == other.FloorId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CCD4 RID: 52436 RVA: 0x00227BB4 File Offset: 0x00225DB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this.PlaneId != 0U)
			{
				num ^= this.PlaneId.GetHashCode();
			}
			if (this.FloorId != 0U)
			{
				num ^= this.FloorId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CCD5 RID: 52437 RVA: 0x00227C25 File Offset: 0x00225E25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CCD6 RID: 52438 RVA: 0x00227C2D File Offset: 0x00225E2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CCD7 RID: 52439 RVA: 0x00227C38 File Offset: 0x00225E38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this.FloorId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.FloorId);
			}
			if (this.PlaneId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.PlaneId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CCD8 RID: 52440 RVA: 0x00227CB0 File Offset: 0x00225EB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this.PlaneId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PlaneId);
			}
			if (this.FloorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FloorId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CCD9 RID: 52441 RVA: 0x00227D20 File Offset: 0x00225F20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpringRecoverCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			if (other.PlaneId != 0U)
			{
				this.PlaneId = other.PlaneId;
			}
			if (other.FloorId != 0U)
			{
				this.FloorId = other.FloorId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CCDA RID: 52442 RVA: 0x00227D84 File Offset: 0x00225F84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CCDB RID: 52443 RVA: 0x00227D90 File Offset: 0x00225F90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 48U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.PlaneId = input.ReadUInt32();
						}
					}
					else
					{
						this.FloorId = input.ReadUInt32();
					}
				}
				else
				{
					this.PropEntityId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400522C RID: 21036
		private static readonly MessageParser<SpringRecoverCsReq> _parser = new MessageParser<SpringRecoverCsReq>(() => new SpringRecoverCsReq());

		// Token: 0x0400522D RID: 21037
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400522E RID: 21038
		public const int PropEntityIdFieldNumber = 3;

		// Token: 0x0400522F RID: 21039
		private uint propEntityId_;

		// Token: 0x04005230 RID: 21040
		public const int PlaneIdFieldNumber = 14;

		// Token: 0x04005231 RID: 21041
		private uint planeId_;

		// Token: 0x04005232 RID: 21042
		public const int FloorIdFieldNumber = 6;

		// Token: 0x04005233 RID: 21043
		private uint floorId_;
	}
}
